﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OVS.CoreDomain
{
    public class Candidate : ICandidate
    {
        private IConstituency _constituency;
        private string _party; 
        private string _symbol;
        private IVoter _voter;

        private int _candidateId;
        private Int64 _votes;
        private string _votesEncrypted;

        #region ICandidate Members

        public IConstituency Constituency
        {
            get
            {
                return _constituency;
            }
            set
            {
                _constituency = value;
            }
        }

      
        public string Party
        {
            get
            {
                return _party;
            }
            set
            {
                _party = value;
            }
        }

        public string Symbol
        {
            get
            {
                return _symbol;
            }
            set
            {
                _symbol = value;
            }
        }

        public IVoter Voter
        {
            get
            {
                return _voter;
            }
            set
            {
                _voter = value;
            }
        }

        #endregion

        #region ICandidate Members

        public int CandidateId
        {
            get
            {
                return _candidateId;
            }
            set
            {
                _candidateId = value;
            }
        }

        #endregion

        #region ICandidate Members


        public Int64 Votes
        {
            get
            {
                return _votes;
            }
            set
            {
                _votes = value;
            }
        }

        #endregion

        #region ICandidate Members


        public string VotesEncrypted
        {
            get
            {
                return _votesEncrypted;
            }
            set
            {
                _votesEncrypted = value;
            }
        }

       

        #endregion
    }
}
